package nml.mail.reg.smtp;



import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class x163_com extends Reg{

	public void reg(String username, String password) {		
		

		String url = "http://reg.email.163.com/unireg/call.do?cmd=register.entrance&from=163&regPage=163";
		get(url);
		
 
		dr.findElement(By.id("nameIpt")).sendKeys(username);
		dr.findElement(By.id("mainPwdIpt")).sendKeys(password);
		dr.findElement(By.id("mainCfmPwdIpt")).sendKeys(password);
		dr.findElement(By.id("vcodeIpt")).click();
		
		System.out.println(username+"@163.com");

		
	}

	public static void main(String[] args) {
		new x163_com().reg("qq331798654", "qq3131798654");
	}
	
	
}
